<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.11"/>
<title>Kinetis Bootloader Host: OptionDictionary.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { init_search(); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="nxp_logo_small.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Kinetis Bootloader Host
   &#160;<span id="projectnumber">2.0.0</span>
   </div>
   <div id="projectbrief">Host Tools for Kinetis devices</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.11 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Introduction</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('_option_dictionary_8h_source.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">OptionDictionary.h</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/*</span></div><div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * File:    OptionDictionary.h</span></div><div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> *</span></div><div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (c) Freescale Semiconductor, Inc. All rights reserved.</span></div><div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> * See included license file for license details.</span></div><div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> */</span></div><div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="preprocessor">#if !defined(_OptionDictionary_h_)</span></div><div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="preprocessor">#define _OptionDictionary_h_</span></div><div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;</div><div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;OptionContext.h&quot;</span></div><div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &lt;map&gt;</span></div><div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;</div><div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespaceelftosb.html">elftosb</a></div><div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;{</div><div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="classelftosb_1_1_option_dictionary.html">   27</a></span>&#160;<span class="keyword">class </span><a class="code" href="classelftosb_1_1_option_dictionary.html">OptionDictionary</a> : <span class="keyword">public</span> <a class="code" href="classelftosb_1_1_option_context.html">OptionContext</a></div><div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;{</div><div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;<span class="keyword">public</span>:</div><div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="classelftosb_1_1_option_dictionary.html#ae1219d9d52c600c05abce9f5f64dbecf">   31</a></span>&#160;    <a class="code" href="classelftosb_1_1_option_dictionary.html#ae1219d9d52c600c05abce9f5f64dbecf">OptionDictionary</a>()</div><div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;        : <a class="code" href="classelftosb_1_1_option_dictionary.html#abc179e5aabf72f043768b5c012ba0750">m_parent</a>(0)</div><div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;    {</div><div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;    }</div><div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;</div><div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="classelftosb_1_1_option_dictionary.html#ae3f7a6ea3c5bdea61042913077bd9a0c">   37</a></span>&#160;    <a class="code" href="classelftosb_1_1_option_dictionary.html#ae3f7a6ea3c5bdea61042913077bd9a0c">OptionDictionary</a>(<a class="code" href="classelftosb_1_1_option_context.html">OptionContext</a> *parent)</div><div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;        : <a class="code" href="classelftosb_1_1_option_dictionary.html#abc179e5aabf72f043768b5c012ba0750">m_parent</a>(parent)</div><div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    {</div><div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    }</div><div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;</div><div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <a class="code" href="classelftosb_1_1_option_dictionary.html#aac6d0e558de6fac55462b9a62ecc62e3">~OptionDictionary</a>();</div><div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;</div><div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;</div><div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;    <span class="keyword">inline</span> <a class="code" href="classelftosb_1_1_option_context.html">OptionContext</a> *<a class="code" href="classelftosb_1_1_option_dictionary.html#af47e367c191f5f72e6348b024ae073a1">getParent</a>()<span class="keyword"> const </span>{ <span class="keywordflow">return</span> <a class="code" href="classelftosb_1_1_option_dictionary.html#abc179e5aabf72f043768b5c012ba0750">m_parent</a>; }</div><div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="classelftosb_1_1_option_dictionary.html#ac0b1f68d82d0450d96ab9f5f2cef41a2">   54</a></span>&#160;    <span class="keyword">inline</span> <span class="keywordtype">void</span> <a class="code" href="classelftosb_1_1_option_dictionary.html#ac0b1f68d82d0450d96ab9f5f2cef41a2">setParent</a>(<a class="code" href="classelftosb_1_1_option_context.html">OptionContext</a> *newParent) { <a class="code" href="classelftosb_1_1_option_dictionary.html#abc179e5aabf72f043768b5c012ba0750">m_parent</a> = newParent; }</div><div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;</div><div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;</div><div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">bool</span> <a class="code" href="classelftosb_1_1_option_dictionary.html#a06eecc97dde1bdf31d47a3f0f21371d5">hasOption</a>(<span class="keyword">const</span> std::string &amp;name) <span class="keyword">const</span>;</div><div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;</div><div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    <span class="keyword">virtual</span> <span class="keyword">const</span> <a class="code" href="classelftosb_1_1_value.html">Value</a> *<a class="code" href="classelftosb_1_1_option_dictionary.html#a8420e8239de77c045a52d2725f77541a">getOption</a>(<span class="keyword">const</span> std::string &amp;name) <span class="keyword">const</span>;</div><div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;</div><div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classelftosb_1_1_option_dictionary.html#a854d1a5cc670b0d1d747d73f82d0b8bd">setOption</a>(<span class="keyword">const</span> std::string &amp;name, <a class="code" href="classelftosb_1_1_value.html">Value</a> *value);</div><div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;</div><div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="classelftosb_1_1_option_dictionary.html#a5db75b348e96c3cf920e6615edf9dabe">deleteOption</a>(<span class="keyword">const</span> std::string &amp;name);</div><div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;</div><div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;</div><div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;    <span class="keywordtype">bool</span> <a class="code" href="classelftosb_1_1_option_dictionary.html#a48deaa5ec36f70b02c37b536dfd30874">isOptionLocked</a>(<span class="keyword">const</span> std::string &amp;name) <span class="keyword">const</span>;</div><div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;</div><div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classelftosb_1_1_option_dictionary.html#ae462adb3e381c4782340f0518c816d34">lockOption</a>(<span class="keyword">const</span> std::string &amp;name);</div><div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;</div><div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    <span class="keywordtype">void</span> <a class="code" href="classelftosb_1_1_option_dictionary.html#a1dd616bcebbcdb8012526a73e398f5e3">unlockOption</a>(<span class="keyword">const</span> std::string &amp;name);</div><div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;</div><div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;</div><div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;    <span class="keyword">const</span> <a class="code" href="classelftosb_1_1_value.html">Value</a> *<a class="code" href="classelftosb_1_1_option_dictionary.html#ae84a6d87145513cec9065f5a63626f9f">operator[]</a>(<span class="keyword">const</span> std::string &amp;name) <span class="keyword">const</span>;</div><div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;</div><div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;<span class="keyword">protected</span>:</div><div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="classelftosb_1_1_option_dictionary.html#abc179e5aabf72f043768b5c012ba0750">   91</a></span>&#160;    <a class="code" href="classelftosb_1_1_option_context.html">OptionContext</a> *<a class="code" href="classelftosb_1_1_option_dictionary.html#abc179e5aabf72f043768b5c012ba0750">m_parent</a>; </div><div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;</div><div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="structelftosb_1_1_option_dictionary_1_1_option_value.html">   96</a></span>&#160;    <span class="keyword">struct </span><a class="code" href="structelftosb_1_1_option_dictionary_1_1_option_value.html">OptionValue</a></div><div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    {</div><div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="structelftosb_1_1_option_dictionary_1_1_option_value.html#a1ee61617bdc3c158b713d8ca1660fe07">   98</a></span>&#160;        <a class="code" href="classelftosb_1_1_value.html">Value</a> *<a class="code" href="structelftosb_1_1_option_dictionary_1_1_option_value.html#a1ee61617bdc3c158b713d8ca1660fe07">m_value</a>;  </div><div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="structelftosb_1_1_option_dictionary_1_1_option_value.html#adfae4db86281ff7c0ae98039f9dda4ce">   99</a></span>&#160;        <span class="keywordtype">bool</span> <a class="code" href="structelftosb_1_1_option_dictionary_1_1_option_value.html#adfae4db86281ff7c0ae98039f9dda4ce">m_isLocked</a>; </div><div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;</div><div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="structelftosb_1_1_option_dictionary_1_1_option_value.html#a1761abd717abcd09479e855e681bbde8">  102</a></span>&#160;        <a class="code" href="structelftosb_1_1_option_dictionary_1_1_option_value.html#a1761abd717abcd09479e855e681bbde8">OptionValue</a>()</div><div class="line"><a name="l00103"></a><span class="lineno">  103</span>&#160;            : m_value(0)</div><div class="line"><a name="l00104"></a><span class="lineno">  104</span>&#160;            , m_isLocked(false)</div><div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;        {</div><div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;        }</div><div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    };</div><div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;</div><div class="line"><a name="l00109"></a><span class="lineno"><a class="line" href="classelftosb_1_1_option_dictionary.html#aa3cf693f333d6a9f3095c6c7f0e8146b">  109</a></span>&#160;    <span class="keyword">typedef</span> std::map&lt;std::string, OptionValue&gt; <a class="code" href="classelftosb_1_1_option_dictionary.html#aa3cf693f333d6a9f3095c6c7f0e8146b">option_map_t</a>; </div><div class="line"><a name="l00110"></a><span class="lineno"><a class="line" href="classelftosb_1_1_option_dictionary.html#a11b3bf9dd6be7bd9927cf52d15147ca2">  110</a></span>&#160;    option_map_t <a class="code" href="classelftosb_1_1_option_dictionary.html#a11b3bf9dd6be7bd9927cf52d15147ca2">m_options</a>;                                  </div><div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;};</div><div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;</div><div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;}; <span class="comment">// namespace elftosb</span></div><div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;</div><div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;<span class="preprocessor">#endif // _OptionDictionary_h_</span></div><div class="ttc" id="classelftosb_1_1_option_dictionary_html_ae3f7a6ea3c5bdea61042913077bd9a0c"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#ae3f7a6ea3c5bdea61042913077bd9a0c">elftosb::OptionDictionary::OptionDictionary</a></div><div class="ttdeci">OptionDictionary(OptionContext *parent)</div><div class="ttdoc">Constructor taking a parent context. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:37</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_aa3cf693f333d6a9f3095c6c7f0e8146b"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#aa3cf693f333d6a9f3095c6c7f0e8146b">elftosb::OptionDictionary::option_map_t</a></div><div class="ttdeci">std::map&lt; std::string, OptionValue &gt; option_map_t</div><div class="ttdoc">Map from option name to value. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:109</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_a1dd616bcebbcdb8012526a73e398f5e3"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#a1dd616bcebbcdb8012526a73e398f5e3">elftosb::OptionDictionary::unlockOption</a></div><div class="ttdeci">void unlockOption(const std::string &amp;name)</div><div class="ttdoc">Allow an option to be changed. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.cpp:153</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_a8420e8239de77c045a52d2725f77541a"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#a8420e8239de77c045a52d2725f77541a">elftosb::OptionDictionary::getOption</a></div><div class="ttdeci">virtual const Value * getOption(const std::string &amp;name) const </div><div class="ttdoc">Returns the option&amp;#39;s value. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.cpp:50</div></div>
<div class="ttc" id="structelftosb_1_1_option_dictionary_1_1_option_value_html_a1761abd717abcd09479e855e681bbde8"><div class="ttname"><a href="structelftosb_1_1_option_dictionary_1_1_option_value.html#a1761abd717abcd09479e855e681bbde8">elftosb::OptionDictionary::OptionValue::OptionValue</a></div><div class="ttdeci">OptionValue()</div><div class="ttdoc">Constructor. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:102</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_ae462adb3e381c4782340f0518c816d34"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#ae462adb3e381c4782340f0518c816d34">elftosb::OptionDictionary::lockOption</a></div><div class="ttdeci">void lockOption(const std::string &amp;name)</div><div class="ttdoc">Prevent further modifications of an option&amp;#39;s value. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.cpp:141</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_a11b3bf9dd6be7bd9927cf52d15147ca2"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#a11b3bf9dd6be7bd9927cf52d15147ca2">elftosb::OptionDictionary::m_options</a></div><div class="ttdeci">option_map_t m_options</div><div class="ttdoc">The option dictionary. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:110</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html">elftosb::OptionDictionary</a></div><div class="ttdoc">Concrete implementation of OptionContext. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:27</div></div>
<div class="ttc" id="structelftosb_1_1_option_dictionary_1_1_option_value_html_a1ee61617bdc3c158b713d8ca1660fe07"><div class="ttname"><a href="structelftosb_1_1_option_dictionary_1_1_option_value.html#a1ee61617bdc3c158b713d8ca1660fe07">elftosb::OptionDictionary::OptionValue::m_value</a></div><div class="ttdeci">Value * m_value</div><div class="ttdoc">The object for this option&amp;#39;s value. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:98</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_af47e367c191f5f72e6348b024ae073a1"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#af47e367c191f5f72e6348b024ae073a1">elftosb::OptionDictionary::getParent</a></div><div class="ttdeci">OptionContext * getParent() const </div><div class="ttdoc">Returns the current parent context. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:50</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_a48deaa5ec36f70b02c37b536dfd30874"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#a48deaa5ec36f70b02c37b536dfd30874">elftosb::OptionDictionary::isOptionLocked</a></div><div class="ttdeci">bool isOptionLocked(const std::string &amp;name) const </div><div class="ttdoc">Returns true if the specified option is locked from further changes. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.cpp:128</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_aac6d0e558de6fac55462b9a62ecc62e3"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#aac6d0e558de6fac55462b9a62ecc62e3">elftosb::OptionDictionary::~OptionDictionary</a></div><div class="ttdeci">~OptionDictionary()</div><div class="ttdoc">Destructor. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.cpp:14</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_ac0b1f68d82d0450d96ab9f5f2cef41a2"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#ac0b1f68d82d0450d96ab9f5f2cef41a2">elftosb::OptionDictionary::setParent</a></div><div class="ttdeci">void setParent(OptionContext *newParent)</div><div class="ttdoc">Change the parent context. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:54</div></div>
<div class="ttc" id="namespaceelftosb_html"><div class="ttname"><a href="namespaceelftosb.html">elftosb</a></div><div class="ttdef"><b>Definition:</b> BootImage.h:13</div></div>
<div class="ttc" id="classelftosb_1_1_value_html"><div class="ttname"><a href="classelftosb_1_1_value.html">elftosb::Value</a></div><div class="ttdoc">Abstract base class for values of arbitrary types. </div><div class="ttdef"><b>Definition:</b> apps/elftosb/common/Value.h:20</div></div>
<div class="ttc" id="classelftosb_1_1_option_context_html"><div class="ttname"><a href="classelftosb_1_1_option_context.html">elftosb::OptionContext</a></div><div class="ttdoc">Pure abstract interface class to a table of options. </div><div class="ttdef"><b>Definition:</b> apps/elftosb/common/OptionContext.h:18</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_a854d1a5cc670b0d1d747d73f82d0b8bd"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#a854d1a5cc670b0d1d747d73f82d0b8bd">elftosb::OptionDictionary::setOption</a></div><div class="ttdeci">virtual void setOption(const std::string &amp;name, Value *value)</div><div class="ttdoc">Adds or changes an option&amp;#39;s value. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.cpp:82</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_a06eecc97dde1bdf31d47a3f0f21371d5"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#a06eecc97dde1bdf31d47a3f0f21371d5">elftosb::OptionDictionary::hasOption</a></div><div class="ttdeci">virtual bool hasOption(const std::string &amp;name) const </div><div class="ttdoc">Detemine whether the named option is present in the table. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.cpp:32</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_ae84a6d87145513cec9065f5a63626f9f"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#ae84a6d87145513cec9065f5a63626f9f">elftosb::OptionDictionary::operator[]</a></div><div class="ttdeci">const Value * operator[](const std::string &amp;name) const </div><div class="ttdoc">Indexing operator; returns the value for the option name. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.cpp:165</div></div>
<div class="ttc" id="structelftosb_1_1_option_dictionary_1_1_option_value_html"><div class="ttname"><a href="structelftosb_1_1_option_dictionary_1_1_option_value.html">elftosb::OptionDictionary::OptionValue</a></div><div class="ttdoc">Information about one option&amp;#39;s value. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:96</div></div>
<div class="ttc" id="structelftosb_1_1_option_dictionary_1_1_option_value_html_adfae4db86281ff7c0ae98039f9dda4ce"><div class="ttname"><a href="structelftosb_1_1_option_dictionary_1_1_option_value.html#adfae4db86281ff7c0ae98039f9dda4ce">elftosb::OptionDictionary::OptionValue::m_isLocked</a></div><div class="ttdeci">bool m_isLocked</div><div class="ttdoc">True if this value is locked from further changes. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:99</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_abc179e5aabf72f043768b5c012ba0750"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#abc179e5aabf72f043768b5c012ba0750">elftosb::OptionDictionary::m_parent</a></div><div class="ttdeci">OptionContext * m_parent</div><div class="ttdoc">Our parent context. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:91</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_a5db75b348e96c3cf920e6615edf9dabe"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#a5db75b348e96c3cf920e6615edf9dabe">elftosb::OptionDictionary::deleteOption</a></div><div class="ttdeci">virtual void deleteOption(const std::string &amp;name)</div><div class="ttdoc">Removes an option from the table. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.cpp:112</div></div>
<div class="ttc" id="classelftosb_1_1_option_dictionary_html_ae1219d9d52c600c05abce9f5f64dbecf"><div class="ttname"><a href="classelftosb_1_1_option_dictionary.html#ae1219d9d52c600c05abce9f5f64dbecf">elftosb::OptionDictionary::OptionDictionary</a></div><div class="ttdeci">OptionDictionary()</div><div class="ttdoc">Default constructor. </div><div class="ttdef"><b>Definition:</b> OptionDictionary.h:31</div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_96c2f84c885cff71a930b6845f88cdd3.html">elftosb</a></li><li class="navelem"><a class="el" href="dir_c476059e18722267e10e2fb2cca6f785.html">common</a></li><li class="navelem"><b>OptionDictionary.h</b></li>
    <li class="footer">Generated on Mon Mar 7 2016 16:49:50 for Kinetis Bootloader Host by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.11 </li>
  </ul>
</div>
</body>
</html>
